package com.killers.cold.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 罗天豪
 * @date 2019/9/18
 */
@Component
@ConfigurationProperties(prefix = "cold.killers.file.aes",ignoreUnknownFields=false)
public class CryptConfig {
    private String algorithm;
    private String key;

    public String getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(String algorithm) {
        this.algorithm = algorithm;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
